Optimal. Leaf size=74 \[ -\frac {5 b}{3 a^2 (a+b x)^{3/2}}-\frac {1}{a x (a+b x)^{3/2}}-\frac {5 b}{a^3 \sqrt {a+b x}}+\frac {5 b \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )}{a^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {44, 53, 65, 214}
\begin {gather*} \frac {5 b \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )}{a^{7/2}}-\frac {5 b}{a^3 \sqrt {a+b x}}-\frac {5 b}{3 a^2 (a+b x)^{3/2}}-\frac {1}{a x (a+b x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 53
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{x^2 (a+b x)^{5/2}} \, dx &=\frac {2}{3 a x (a+b x)^{3/2}}+\frac {5 \int \frac {1}{x^2 (a+b x)^{3/2}} \, dx}{3 a}\\ &=\frac {2}{3 a x (a+b x)^{3/2}}+\frac {10}{3 a^2 x \sqrt {a+b x}}+\frac {5 \int \frac {1}{x^2 \sqrt {a+b x}} \, dx}{a^2}\\ &=\frac {2}{3 a x (a+b x)^{3/2}}+\frac {10}{3 a^2 x \sqrt {a+b x}}-\frac {5 \sqrt {a+b x}}{a^3 x}-\frac {(5 b) \int \frac {1}{x \sqrt {a+b x}} \, dx}{2 a^3}\\ &=\frac {2}{3 a x (a+b x)^{3/2}}+\frac {10}{3 a^2 x \sqrt {a+b x}}-\frac {5 \sqrt {a+b x}}{a^3 x}-\frac {5 \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x}\right )}{a^3}\\ &=\frac {2}{3 a x (a+b x)^{3/2}}+\frac {10}{3 a^2 x \sqrt {a+b x}}-\frac {5 \sqrt {a+b x}}{a^3 x}+\frac {5 b \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )}{a^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 63, normalized size = 0.85 \begin {gather*} \frac {-3 a^2-20 a b x-15 b^2 x^2}{3 a^3 x (a+b x)^{3/2}}+\frac {5 b \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )}{a^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [B] Leaf count is larger than twice the leaf count of optimal. \(251\) vs. \(2(74)=148\).
time = 10.34, size = 231, normalized size = 3.12 \begin {gather*} \frac {-6 a^4 \sqrt {\frac {a+b x}{a}}+a^3 b x \left (-46 \sqrt {\frac {a+b x}{a}}-15 \text {Log}\left [\frac {b x}{a}\right ]+30 \text {Log}\left [1+\sqrt {\frac {a+b x}{a}}\right ]\right )+5 a^2 b^2 x^2 \left (-14 \sqrt {\frac {a+b x}{a}}-9 \text {Log}\left [\frac {b x}{a}\right ]+18 \text {Log}\left [1+\sqrt {\frac {a+b x}{a}}\right ]\right )+15 a b^3 x^3 \left (-3 \text {Log}\left [\frac {b x}{a}\right ]-2 \sqrt {\frac {a+b x}{a}}+6 \text {Log}\left [1+\sqrt {\frac {a+b x}{a}}\right ]\right )+15 b^4 x^4 \left (-\text {Log}\left [\frac {b x}{a}\right ]+2 \text {Log}\left [1+\sqrt {\frac {a+b x}{a}}\right ]\right )}{6 a^{\frac {7}{2}} x \left (a^3+3 a^2 b x+3 a b^2 x^2+b^3 x^3\right )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 66, normalized size = 0.89
method | result | size |
risch | \(-\frac {\sqrt {b x +a}}{a^{3} x}-\frac {b \left (-\frac {10 \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{\sqrt {a}}+\frac {8}{\sqrt {b x +a}}+\frac {4 a}{3 \left (b x +a \right )^{\frac {3}{2}}}\right )}{2 a^{3}}\) | \(60\) |
derivativedivides | \(2 b \left (-\frac {1}{3 a^{2} \left (b x +a \right )^{\frac {3}{2}}}-\frac {2}{a^{3} \sqrt {b x +a}}+\frac {-\frac {\sqrt {b x +a}}{2 b x}+\frac {5 \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{2 \sqrt {a}}}{a^{3}}\right )\) | \(66\) |
default | \(2 b \left (-\frac {1}{3 a^{2} \left (b x +a \right )^{\frac {3}{2}}}-\frac {2}{a^{3} \sqrt {b x +a}}+\frac {-\frac {\sqrt {b x +a}}{2 b x}+\frac {5 \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{2 \sqrt {a}}}{a^{3}}\right )\) | \(66\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 89, normalized size = 1.20 \begin {gather*} -\frac {15 \, {\left (b x + a\right )}^{2} b - 10 \, {\left (b x + a\right )} a b - 2 \, a^{2} b}{3 \, {\left ({\left (b x + a\right )}^{\frac {5}{2}} a^{3} - {\left (b x + a\right )}^{\frac {3}{2}} a^{4}\right )}} - \frac {5 \, b \log \left (\frac {\sqrt {b x + a} - \sqrt {a}}{\sqrt {b x + a} + \sqrt {a}}\right )}{2 \, a^{\frac {7}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 221, normalized size = 2.99 \begin {gather*} \left [\frac {15 \, {\left (b^{3} x^{3} + 2 \, a b^{2} x^{2} + a^{2} b x\right )} \sqrt {a} \log \left (\frac {b x + 2 \, \sqrt {b x + a} \sqrt {a} + 2 \, a}{x}\right ) - 2 \, {\left (15 \, a b^{2} x^{2} + 20 \, a^{2} b x + 3 \, a^{3}\right )} \sqrt {b x + a}}{6 \, {\left (a^{4} b^{2} x^{3} + 2 \, a^{5} b x^{2} + a^{6} x\right )}}, -\frac {15 \, {\left (b^{3} x^{3} + 2 \, a b^{2} x^{2} + a^{2} b x\right )} \sqrt {-a} \arctan \left (\frac {\sqrt {b x + a} \sqrt {-a}}{a}\right ) + {\left (15 \, a b^{2} x^{2} + 20 \, a^{2} b x + 3 \, a^{3}\right )} \sqrt {b x + a}}{3 \, {\left (a^{4} b^{2} x^{3} + 2 \, a^{5} b x^{2} + a^{6} x\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 818 vs.
\(2 (68) = 136\).
time = 2.86, size = 818, normalized size = 11.05 \begin {gather*} - \frac {6 a^{17} \sqrt {1 + \frac {b x}{a}}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} - \frac {46 a^{16} b x \sqrt {1 + \frac {b x}{a}}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} - \frac {15 a^{16} b x \log {\left (\frac {b x}{a} \right )}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} + \frac {30 a^{16} b x \log {\left (\sqrt {1 + \frac {b x}{a}} + 1 \right )}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} - \frac {70 a^{15} b^{2} x^{2} \sqrt {1 + \frac {b x}{a}}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} - \frac {45 a^{15} b^{2} x^{2} \log {\left (\frac {b x}{a} \right )}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} + \frac {90 a^{15} b^{2} x^{2} \log {\left (\sqrt {1 + \frac {b x}{a}} + 1 \right )}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} - \frac {30 a^{14} b^{3} x^{3} \sqrt {1 + \frac {b x}{a}}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} - \frac {45 a^{14} b^{3} x^{3} \log {\left (\frac {b x}{a} \right )}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} + \frac {90 a^{14} b^{3} x^{3} \log {\left (\sqrt {1 + \frac {b x}{a}} + 1 \right )}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} - \frac {15 a^{13} b^{4} x^{4} \log {\left (\frac {b x}{a} \right )}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} + \frac {30 a^{13} b^{4} x^{4} \log {\left (\sqrt {1 + \frac {b x}{a}} + 1 \right )}}{6 a^{\frac {39}{2}} x + 18 a^{\frac {37}{2}} b x^{2} + 18 a^{\frac {35}{2}} b^{2} x^{3} + 6 a^{\frac {33}{2}} b^{3} x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 100, normalized size = 1.35 \begin {gather*} 2 \left (-\frac {\sqrt {a+b x} b}{2 a^{3} \left (a+b x-a\right )}-\frac {6 \left (a+b x\right ) b+b a}{3 a^{3} \sqrt {a+b x} \left (a+b x\right )}-\frac {5 b \arctan \left (\frac {\sqrt {a+b x}}{\sqrt {-a}}\right )}{2 a^{3} \sqrt {-a}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.11, size = 73, normalized size = 0.99 \begin {gather*} \frac {5\,b\,\mathrm {atanh}\left (\frac {\sqrt {a+b\,x}}{\sqrt {a}}\right )}{a^{7/2}}-\frac {\frac {2\,b}{3\,a}+\frac {10\,b\,\left (a+b\,x\right )}{3\,a^2}-\frac {5\,b\,{\left (a+b\,x\right )}^2}{a^3}}{a\,{\left (a+b\,x\right )}^{3/2}-{\left (a+b\,x\right )}^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________